package com.lzx.lizhenxing.user.service;


import com.lzx.lizhenxing.common.vo.PageVo;
import com.lzx.lizhenxing.user.param.ExpressDeAddParam;
import com.lzx.lizhenxing.user.param.ExpressDePageQueryParam;
import com.lzx.lizhenxing.user.vo.ExpressDePageVo;

import java.util.List;

/**
 * 用户快递表(UserExpressDeliveryModel)表服务接口
 */
public interface UserExpressDeliveryService {

    /**
     * 分页模糊查询
     */
    PageVo<ExpressDePageVo> queryByPage(ExpressDePageQueryParam param);

    /**
     * 批量删除
     * @param ids
     */
    void deleteExDeBatch(List<Long> ids);

    /**
     * 添加快递信息
     * @param param
     */
    void addExDe(ExpressDeAddParam param);

    /**
     * 删除一个快递
     * @param id
     */
    void deleteOneExDe(Long id);

    /**
     * 根据快递的id设置状态
     */
    void setExpressDeliveryStatus(Long id, Integer status);
}
